package cn.iocoder.moyun.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 项目的启动类
 * 如果你碰到启动的问题，请认真阅读 https://doc.iocoder.cn/quick-start/ 文章
 */
@SuppressWarnings("SpringComponentScan") // 忽略 IDEA 无法识别 ${moyun.info.base-package}
@SpringBootApplication(scanBasePackages = {"${moyun.info.base-package}.server", "${moyun.info.base-package}.module"
        ,"cn.iocoder.moyun.module.curd.controller.admin"})
public class YudaoServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(YudaoServerApplication.class, args);
//        new SpringApplicationBuilder(YudaoServerApplication.class)
//                .applicationStartup(new BufferingApplicationStartup(20480))
//                .run(args);
    }
}
